package cn.dengyongsheng.entity;

/**
 * 飞船类
 */
public class Starship {
    private String Name; //名称
    private Integer TopSpeed; //最大速度

    private Star Destination; // 目的星球
    private String DestinationName; //目的地名称
    private Integer ProcessingOptions; //处理标志

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public Integer getTopSpeed() {
        return TopSpeed;
    }

    public void setTopSpeed(Integer topSpeed) {
        TopSpeed = topSpeed;
    }

    public Integer getProcessingOptions() {
        return ProcessingOptions;
    }

    public void setProcessingOptions(Integer processingOptions) {
        ProcessingOptions = processingOptions;

    }

    public Star getDestination() {
        return Destination;
    }

    public void setDestination(Star destination) {
        Destination = destination;
    }

    public String getDestinationName() {
        return DestinationName;
    }

    public void setDestinationName(String destinationName) {
        DestinationName = destinationName;
    }

    @Override
    public String toString() {
        return "Starship{" +
                "Name='" + Name + '\'' +
                ", TopSpeed=" + TopSpeed +
                ", Destination='" + DestinationName + '\'' +
                ", ProcessingOptions=" + ProcessingOptions +
                '}';
    }
}
